home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 001a / jmod310.zip / JMODEMTC < prev    next >
Text File  |  1991-11-30  |  3KB  |  76 lines

  1.  
  2. #   --------------------------------------------------------------------------
  3. #
  4. #   MAKE file for JMODEM, the 'C' version.
  5. #   JMODEM                              Richard B. Johnson
  6. #                                       405 Broughton Drive
  7. #                                       Beverly, Massachusetts 01915
  8. #                                       BBS (508) 922-3166
  9. #
  10. #   Turbo C Makefile created 21-Apr-90  Brad Smith
  11. #                                       141 Riggs Street
  12. #                                       Jacksonville, North Carolina 28540
  13. #                                       BBS (919) 455-5972 12/24/9600+ 24 hrs
  14. #
  15. #   Modified:
  16. #   21-NOV-1991            Richard B. Johnson
  17. #   Added support for the external assembly routines in JMODEM_G.ASM. I
  18. #   did not have a copy of TASM, so I used old-fashion MASM instead.
  19. #
  20. #   Execute MAKE JMODEMTC
  21. #
  22. #   Note:  TurboC Version of JModem.exe generates a null pointer assignment
  23. #          on small model ONLY??
  24. #
  25. #   --------------------------------------------------------------------------
  26. #
  27. #   --------------------------------------------------------------------------
  28. #   headers common to all
  29. #   --------------------------------------------------------------------------
  30. HEADERS = jmodem.h jmodemtc
  31.  
  32. #   --------------------------------------------------------------------------
  33. #   exe object dependancy list
  34. #   --------------------------------------------------------------------------
  35. OBJECTS = jmodem_a.obj jmodem_b.obj jmodem_c.obj \
  36.           jmodem_d.obj jmodem_e.obj jmodem_f.obj jmodem_g.obj
  37.  
  38. #   --------------------------------------------------------------------------
  39. #   couple of dumb macros
  40. #   --------------------------------------------------------------------------
  41.  
  42. env = e:\turboc
  43. CMP = tcc -w -G -O -Z -d -N- -k -K -ms -c -DTURBOC -I$(env)\include -L$(env)\lib
  44. ASM = MASM
  45. LNK = tlink @jmodemtc.rsp
  46.  
  47. #   --------------------------------------------------------------------------
  48. #   implicit build rule for .c files
  49. #   --------------------------------------------------------------------------
  50. .c.obj :
  51.    $(CMP) $<
  52.  
  53. #   --------------------------------------------------------------------------
  54. #   implicit build rule for .asm files
  55. #   --------------------------------------------------------------------------
  56.  
  57. .asm.obj:
  58.    $(ASM) $<;
  59.  
  60. #   --------------------------------------------------------------------------
  61. #   Turbo make NEEDS the final result as the FIRST target! I Believe...
  62. #   --------------------------------------------------------------------------
  63. jmodem.exe   : $(OBJECTS)
  64.     $(LNK)
  65.  
  66. #   --------------------------------------------------------------------------
  67. #   dependancy list -- implicit build rule specified above will build'm
  68. #   --------------------------------------------------------------------------
  69. jmodem_a.obj : $(HEADERS) jmodem_a.c
  70. jmodem_b.obj : $(HEADERS) jmodem_b.c
  71. jmodem_c.obj : $(HEADERS) jmodem_c.c
  72. jmodem_d.obj : $(HEADERS) jmodem_d.c
  73. jmodem_e.obj : $(HEADERS) jmodem_e.c uart.h
  74. jmodem_f.obj : $(HEADERS) jmodem_f.c screen.h
  75. jmodem_g.obj : $(HEADERS) jmodem_g.asm
  76.